 <script type="text/javascript">
$( document).ready(function(e) {
    $(".header3 dl") .mouseover( function(){
        $( this).find("dd").addClass("show")
        })
    $(".header3 dl") .mouseout( function(){
        $( this).find("dd").removeClass("show")
        })
});
    </script>
 {% load i18n %}
<div class="header">
    <div class="wrap">
    <div class="logo"><a href="/"><img src="/static/images/img25_06.png"></a></div>
     <ul >
     <li class="kk"><a href="/">{%trans 'index' %}</a></li>
<li> <a href="{% url "company" %}">{%trans 'company' %}</a></li>
    <li> <a href="{% url "article" %}">{%trans 'new' %}</a></li>
     </ul>
     {% if request.session.type == 1 %}
         <div class="header3">
                <dl>
                <dt><a href="{% url "myResume" %}">{{request.session.emailName}}</a></dt>
                <dd>
                  <ol>
                 
                   <li><a href="{% url "setPw" %}">{% trans "reset password" %}</a></li>
                   <li><a href="{% url "logout" %}">{%trans 'login out' %}</a></li>
                  </ol>
                </dd>
                </dl>
               </div>
   <!-- <span><a href="{% url "logout" %}">{%trans 'login out' %}</a></span>
          <span> <a href="{% url "index" %}">投递箱 </a></span> -->
        
<span> <a href="{% url "message" '' %}">{%trans 'message' %} </a></span>
          <span> <a href="{% url "myResume" %}">{% trans "myResume" %} </a> </span>
     {% elif request.session.type == 2 %}

      <div class="header3">
                <dl>
                <dt><a href="{% url "basic" %}">{{request.session.emailName}}</a></dt>
                <dd>
                  <ol>
      
             <li><a href="{% url "setPw" %}">{% trans "reset password" %}</a></li>
                   <li><a href="{% url "logout" %}">{%trans 'login out' %}</a></li>
                  </ol>
                </dd>
                </dl>
               </div>
     <!--  <span>111 <a href="{% url "logout" %}">{% trans "quit" %} </a></span>
         <span> <a href="{% url "index" %}">收件箱 </a></span> -->
        
<span> <a href="{% url "message" '' %}">{% trans "message" %}</a></span>
<span> <a href="{% url "basic" %}">{% trans "workbench" %} </a> </span>

        {% else %}
    <span> <a href="{% url "signIn" %}">{% trans "company register" %} </a></span>
     
     <span> <a href="{% url "reg" %}">{% trans "register" %}</a></span>
     <span> <a href="{% url "login" %}">{% trans "login" %}</a> </span>
   
     {% endif %}
     </div>
     </div>